package com.garlic.face.jlf.presenter;

import org.json.JSONObject;

/**
 * @author wenhui02.liu
 * @date 2018/8/13.
 */

public interface BarCodeContract {

    interface View {

        void destoryTimer();

        void toSuccssActivity(String result);

        void toFailureActivity(String msg, String actionType);

        void showProgress();

        void hideProgress();

        void gotoMain();
    }

    interface Presenter {

        void cancelPay(String reason);

        void payBarCode(String mPayBarCode);

        void parseJson(JSONObject jsonObject);

        void destoryMXdevice();
    }
}
